package com.example.tool.erp.sdk.api.finance.dto;

import com.google.gson.annotations.SerializedName;

import java.math.BigDecimal;
import java.util.List;

public class StockCostSearchResponse
{
	@SerializedName("detail_list") private List<Detail> detailList;
	@SerializedName("total_count") private Integer total;

	public static class Detail
	{
		@SerializedName("defect") private Boolean defect;
		@SerializedName("warehouse_no") private String warehouseNo;
		@SerializedName("created") private String created;
		@SerializedName("avg_cost") private BigDecimal avgCost;
		@SerializedName("modified") private String modified;
		@SerializedName("remark") private String remark;
		@SerializedName("planned_cost") private BigDecimal plannedCost;
		@SerializedName("spec_no") private String specNo;

		public Boolean getDefect()
		{
			return defect;
		}

		public void setDefect(Boolean defect)
		{
			this.defect = defect;
		}

		public String getWarehouseNo()
		{
			return warehouseNo;
		}

		public void setWarehouseNo(String warehouseNo)
		{
			this.warehouseNo = warehouseNo;
		}

		public String getCreated()
		{
			return created;
		}

		public void setCreated(String created)
		{
			this.created = created;
		}

		public BigDecimal getAvgCost()
		{
			return avgCost;
		}

		public void setAvgCost(BigDecimal avgCost)
		{
			this.avgCost = avgCost;
		}

		public String getModified()
		{
			return modified;
		}

		public void setModified(String modified)
		{
			this.modified = modified;
		}

		public String getRemark()
		{
			return remark;
		}

		public void setRemark(String remark)
		{
			this.remark = remark;
		}

		public BigDecimal getPlannedCost()
		{
			return plannedCost;
		}

		public void setPlannedCost(BigDecimal plannedCost)
		{
			this.plannedCost = plannedCost;
		}

		public String getSpecNo()
		{
			return specNo;
		}

		public void setSpecNo(String specNo)
		{
			this.specNo = specNo;
		}
	}

	public List<Detail> getDetailList()
	{
		return detailList;
	}

	public void setDetailList(List<Detail> detailList)
	{
		this.detailList = detailList;
	}

	public Integer getTotal()
	{
		return total;
	}

	public void setTotal(Integer total)
	{
		this.total = total;
	}
}
